import type { Menu } from './menu'
import type { PageDto } from './request'

export interface User {
  createTime?: string
  email?: string
  icon?: string
  id?: number
  loginTime?: string
  nickName?: string
  note?: string
  password?: string
  status?: 0 | 1
  username?: string
}

export interface UserInfo {
  roles?: string[]
  menus?: Menu[]
  icon?: string
  username?: string
}
export interface Token {
  token?: string
  tokenHead?: string
}

export interface ReqUserList extends PageDto {
  keyword?: string
}
